/******************************************************************************
** 
** Squeeze string program.
** 
** File name:	squeeze.c
** Compilation:	cc squeeze.c -o squeeze
** Execution:	./squeeze
** 
** Description:
** Get two strings. Remove from s1 all symbols that are in s2.
** 
******************************************************************************/
#include <stdio.h>
#include <limits.h>
#include "myfunctions.h"

#define STRING_MAX_LENGTH UCHAR_MAX

int main()
{
    char s1[STRING_MAX_LENGTH];
    char s2[STRING_MAX_LENGTH];
    unsigned short int length;

    if ( (length = GetString(s1, STRING_MAX_LENGTH)) && (length = GetString(s2, STRING_MAX_LENGTH)) ) {
        SqueezeSymbols(s1,s2);
    }
    printf("\n%s\n", s1);

    return 0;
}

